<template>
  <div>
    <!-- 这是轮播图区域
      :isfull="true"----控制轮播图的图片是否为100%
      这里是首页的轮播图，需要100%
     -->
      <swiper :lunbotuList="lunbotuList" :isfull="true"></swiper>
    <!-- 九宫格到六宫格改造 -->
    <ul class="mui-table-view mui-grid-view mui-grid-9">
		  <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/newslist">
		      <img src="../../images/menu1.png" alt="">
		      <div class="mui-media-body">新闻资讯</div>
        </router-link>
      </li>
		  <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/photolist">
          <img src="../../images/menu2.png" alt="">
		      <div class="mui-media-body">图片分享</div>
        </router-link>
      </li>
		  <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <router-link to="/home/goodslist">
		     <img src="../../images/menu3.png" alt="">
		      <div class="mui-media-body">商品购买</div>
        </router-link>
      </li>
		  <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <a href="#">
		      <img src="../../images/menu4_20190405100717.png" alt="">
		      <div class="mui-media-body">留言反馈</div>
        </a>
      </li>
		  <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <a href="#">
		      <img src="../../images/menu5_20190405100717.png" alt="">
		      <div class="mui-media-body">视频专区</div>
        </a>
      </li>
		  <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
        <a href="#">
		      <img src="../../images/menu6_20190405100718.png" alt="">
		      <div class="mui-media-body">联系我们</div>
        </a>
      </li>
		</ul> 
  </div>
</template>
<script>
//这是导入轮播图组件
import swiper from '../subcomponents/swiper.vue'
export default {
  data(){
    return {
      lunbotuList:[],//保存轮播图的数组
    }
  },
  created(){
   
  },
  methods:{
    
  },
  components:{
    swiper
  }
}
</script>
<style lang="scss" scoped>
  .mui-grid-view.mui-grid-9{
    background-color: #fff;
    border: none;
  }
  .mui-grid-view.mui-grid-9 .mui-table-view-cell{
   border: 0;
  }
  img{
    width: 40px;
    height: 30px;
    background-repeat: no-repeat;
  }
</style>



